package com.alipay.app.groupmeal.standard.ui.c.pre;

import android.view.Display;
import android.view.KeyEvent;

import com.alipay.app.groupmeal.standard.R;
import com.alipay.app.groupmeal.standard.base.BasePresentation;
import com.alipay.app.groupmeal.standard.ui.c.CCardActivity;

public class UCardPre extends BasePresentation {

    private CCardActivity mActivity;

    public UCardPre(CCardActivity outerContext, Display display) {
        super(outerContext, display);
        mActivity = outerContext;
    }
    @Override
    protected int getLayoutId() {
        return R.layout.activity_card;
    }

    @Override
    protected void initView() {

    }

    @Override
    protected void initData() {

    }



    @Override
    public boolean onKeyEventBack(KeyEvent event) {
        mActivity.finish();
        super.onKeyEventBack(event);
        return true;

    }


}
